package cn.oms.drugknowledge.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("drug_detail")
@ApiModel(value="DrugDetail对象", description="")
public class DrugDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID（新增自增）(UUID)")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "药品CODE(新增生成)（DD）")
    @TableField("DRUG_CODE")
    private String drugCode;

    @ApiModelProperty(value = "药品名称（英文）")
    @TableField("DRUG_NAME_EN")
    private String drugNameEn;

    @ApiModelProperty(value = "药品名称（中文）")
    @TableField("DRUG_NAME_CN")
    private String drugNameCn;

    @ApiModelProperty(value = "药品名称（拼音）")
    @TableField("DRUG_NAME_PY")
    private String drugNamePy;

    @ApiModelProperty(value = "药品别名（英文）")
    @TableField("DRUG_ALIAS_NAME_EN")
    private String drugAliasNameEn;

    @ApiModelProperty(value = "药品别名（中文）")
    @TableField("DRUG_ALIAS_NAME_CN")
    private String drugAliasNameCn;

    @ApiModelProperty(value = "药品缩写（英文）")
    @TableField("DRUG_ABBREVIATION_NAME_EN")
    private String drugAbbreviationNameEn;

    @ApiModelProperty(value = "药品缩写（拼音）")
    @TableField("DRUG_ABBREVIATION_NAME_PY")
    private String drugAbbreviationNamePy;

    @ApiModelProperty(value = "药品名称组合描述（中文+英文）（用于前端展示使用）")
    @TableField("DRUG_DESCRIPTION")
    private String drugDescription;

    @ApiModelProperty(value = "药品性状表")
    @TableField("DRUG_PROPERTIES")
    private String drugProperties;

    @ApiModelProperty(value = "药品解释（中文）")
    @TableField("DRUG_EXPLAIN_CN")
    private String drugExplainCn;

    @ApiModelProperty(value = "药品解释（英文）")
    @TableField("DRUG_EXPLAIN_EN")
    private String drugExplainEn;

    @ApiModelProperty(value = "药品详情")
    @TableField("DRUG_DETAIL")
    private String drugDetail;

    @ApiModelProperty(value = "药前是否需要过敏皮试（0非 1是）")
    @TableField("NEED_ALLERGY_SKIN_TEST")
    private Integer needAllergySkinTest;

    @ApiModelProperty(value = "是否需要遮光（0非 1是）")
    @TableField("NEED_SHADING")
    private Integer needShading;

    @ApiModelProperty(value = "是否需要密封（0非 1是）")
    @TableField("NEED_SEAL")
    private Integer needSeal;

    @ApiModelProperty(value = "细胞毒性（0非  1是）")
    @TableField("CYTOTOXICITY_FLAG")
    private Integer cytotoxicityFlag;

    @ApiModelProperty(value = "危险药品标识（0非 1危险药品）")
    @TableField("DANGEROUS_DRUG_FLAG")
    private Integer dangerousDrugFlag;

    @ApiModelProperty(value = "药品是否冷藏（0非 1是）")
    @TableField("NEED_REFRIGERATION")
    private Integer needRefrigeration;

    @ApiModelProperty(value = "是否为疫苗(0或null 为不是疫苗 1为是疫苗)")
    @TableField("VACCINE_FLAG")
    private Integer vaccineFlag;

    @ApiModelProperty(value = "麻醉药品标识（0非 1是）")
    @TableField("ANESTHESIA_FLAG")
    private Integer anesthesiaFlag;

    @ApiModelProperty(value = "抗生素权标识（0非 1是）")
    @TableField("ANTIBIOTIC_AUTHORITY_FLAG")
    private Integer antibioticAuthorityFlag;

    @ApiModelProperty(value = "抗生素级别")
    @TableField("ANTIBIOTIC_AUTHORITY_LEVEL")
    private Integer antibioticAuthorityLevel;

    @ApiModelProperty(value = "小心处理（0非 1是）")
    @TableField("HANDLED_WITH_CARE_FLAG")
    private Integer handledWithCareFlag;

    @ApiModelProperty(value = "溶媒标记（0非 1是）")
    @TableField("SOLVENT_FLAG")
    private Integer solventFlag;

    @ApiModelProperty(value = "是否为医保用药（0非 1是）")
    @TableField("MBF_DRUG_FLAG")
    private Integer mbfDrugFlag;

    @ApiModelProperty(value = "是否为处方用药（0非处方用药 1处方用药）")
    @TableField("PRESCRIPTION_FLAG")
    private Integer prescriptionFlag;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "创建人CODE")
    @TableField("CREATE_MAN_CODE")
    private String createManCode;

    @ApiModelProperty(value = "创建人姓名")
    @TableField("CREATE_MAN_NAME")
    private String createManName;

    @ApiModelProperty(value = "修改时间")
    @TableField("MODIFY_TIME")
    private LocalDate modifyTime;

    @ApiModelProperty(value = "修改人ID")
    @TableField("MODIFY_MAN_ID")
    private String modifyManId;

    @ApiModelProperty(value = "修改人名称")
    @TableField("MODIFY_MAN_NAME")
    private String modifyManName;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
